package com.example.teachingSystem.service;

import com.example.teachingSystem.pojo.entity.Enrollment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teachingSystem.pojo.form.course.AddEnrollmentForm;
import com.example.teachingSystem.utils.result.Result;

import java.util.List;

/**
* @author 86147
* @description 针对表【enrollment(选课表)】的数据库操作Service
* @createDate 2023-11-27 21:43:54
*/
public interface EnrollmentService extends IService<Enrollment> {
    Result<String> addEnrollment(AddEnrollmentForm addEnrollmentForm,Boolean isAdmin);

    Result<String> deleteEnrollment(List<Long> ids,Boolean isAdmin);
}
